﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;
//using System.Windows;

namespace IIFProcessor
{
    public static class Utilities
    {
        private const string WarnText = "Warning";
        private const string ErrorText = "Error";
    
        public static string GetCurrentPath()
        {
            string currentPath = Assembly.GetExecutingAssembly().CodeBase.Substring(8);
            currentPath = currentPath.Substring(0, currentPath.LastIndexOf("/"));
            return currentPath;
        }
        //public static void ShowError(string text)
        //{
        //    MessageBox.Show(text, ErrorText, MessageBoxButton.OK, MessageBoxImage.Error);
        //}
        //public static void ShowWarning(string text)
        //{
        //    MessageBox.Show(text, WarnText, MessageBoxButton.OK, MessageBoxImage.Warning);
               
        //}
    }
}
